package com.c8a.hosp.repository;

import com.c8a.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author C8A
 * @Date 2021-10-26 10:08
 * @Email 1912327276@qq.com
 */

@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}